
import { selList,queryAllExportData } from '@/services/workReportApi';

export default {
    namespace: 'workReportApi',

    state: {

    },

    effects: {

        /**
            * 分页
            * @param payload
            * @param call
            * @param put
            * @returns {Generator<*, *, *>}
            */
        *selList({ payload }, { call, put }) {
            const response = yield call(selList, payload);
            return response;
        },

                /**
   * 点击导出列表信息
   * @param payload
   * @param call
   * @param put
   * @returns {Generator<*, *, *>}
   */
                *queryAllExportData({ payload }, { call, put }) {
                    const response = yield call(queryAllExportData, payload);
                    return response;
                },

                
        

    },

    reducers: {

    },
};
